VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "richtx32.ocx"
Begin VB.Form frmDocument 
   Caption         =   "frmDocument"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   Icon            =   "frmDocument.frx":0000
   LinkTopic       =   "Form1"
   MDIChild        =   -1  'True
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   Begin VB.Timer tmLog 
      Enabled         =   0   'False
      Interval        =   150
      Left            =   3420
      Top             =   2475
   End
   Begin RichTextLib.RichTextBox txtLog 
      Height          =   1815
      Left            =   600
      TabIndex        =   0
      Top             =   360
      Width           =   2775
      _ExtentX        =   4895
      _ExtentY        =   3201
      _Version        =   393217
      Enabled         =   -1  'True
      HideSelection   =   0   'False
      ReadOnly        =   -1  'True
      ScrollBars      =   2
      AutoVerbMenu    =   -1  'True
      TextRTF         =   $"frmDocument.frx":000C
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
End
Attribute VB_Name = "frmDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public m_sRemoteHostIP As String
Public m_dtLastRecv As Date

Public m_LogBuffer As String

Private Sub Form_Load()
    Form_Resize
    
End Sub


Private Sub Form_Resize()
    On Error Resume Next
    txtLog.Move 100, 100, Me.ScaleWidth - 200, Me.ScaleHeight - 200
End Sub

Private Sub tmLog_Timer()
    txtLog.Text = txtLog.Text & m_LogBuffer
    txtLog.SelStart = Len(txtLog.Text)
    tmLog.Enabled = False
    m_LogBuffer = ""
End Sub

